package com.yfbao.horizon.docker.utils;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

public class CommonUtil {
    private static Snowflake snowflake = IdUtil.getSnowflake(1, 1);

    public static long getId(){
        long id = snowflake.nextId();
        return id;
    }

    public static void main(String[] args) {
        System.out.println(getId());
        String aa ="[{\"label\":\"左匹配\",\"i18n\":\"org.parameter.label.left\",\"name\":\"left\"},{\"label\":\"当前语种模糊匹配\",\"i18n\":\"org.parameter.label.all\",\"name\":\"local_lang\"},{\"label\":\"忽略语种模糊匹配\",\"i18n\":\"org.parameter.label.all\",\"name\":\"all\"}]";
    }
}
